package TraitementMessages;

import mainProcess.MainProcessing;



public abstract class BaseMessage implements java.io.Serializable {
	
	protected String senderUID;
	static final long serialVersionUID = 23201000L;
	
	public BaseMessage(String senderUID)
	{
		this.senderUID = senderUID;
	}
	
	abstract public void handleReceiption(MainProcessing mainProcessing);
	
	public void setUID (String senderUID) {
            this.senderUID = senderUID;
	}

        public String getUID () {
            return this.senderUID;
        }
}
